package com.example.meizu002.mapper;

import com.example.meizu002.entity.Goods1;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface Good1Mapper {
   List<Goods1>findAll();
   void addGoods(Goods1 goods1);
   void deleteGoods(int id);
   Goods1 findOne(int id);
   void updateGoods(Goods1 goods1);

}
